
// 修改页面获取初始数据

import {hrAjax as proFetch} from 'src/hrpub/common/utils/utils';


export default (postData, pageFrom) => {

    let reqUrl = '/nccloud/hrhi/psndoc/PsndocEditAction.do';

    if(pageFrom === 'dbClick') {
        reqUrl = '/nccloud/hrhi/psndoc/PsndocQueryOneAction.do';
    }

    return proFetch({
        url: reqUrl,
        body: postData
    });

}
